// Antd v5 React 19 兼容性补丁 - 必须在最开头导入
import '@ant-design/v5-patch-for-react-19'

import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
import './locels/index.ts'

// Antd v5 React 19 兼容性配置
import { ConfigProvider } from 'antd'

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <ConfigProvider
      theme={{
        cssVar: true,
        hashed: false,
      }}
    >
      <App />
    </ConfigProvider>
  </StrictMode>,
)
